[INFO] cloning repository https://github.com/pythoninthegrasses/rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pythoninthegrasses/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpythoninthegrasses%2Frustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpythoninthegrasses%2Frustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce736420876953ae45f7bed13b83fdbec3208543
[INFO] fixing pythoninthegrasses/rustlings against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpythoninthegrasses%2Frustlings" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pythoninthegrasses/rustlings
[INFO] finished tweaking git repo https://github.com/pythoninthegrasses/rustlings
[INFO] tweaked toml for git repo https://github.com/pythoninthegrasses/rustlings written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pythoninthegrasses/rustlings on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pythoninthegrasses/rustlings already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5e26f9721a6b8b1ccceb72fc89f33c3834dd6fa680cb44dd9a9a1263ac23b5d8
[INFO] running `Command { std: "docker" "start" "5e26f9721a6b8b1ccceb72fc89f33c3834dd6fa680cb44dd9a9a1263ac23b5d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e26f9721a6b8b1ccceb72fc89f33c3834dd6fa680cb44dd9a9a1263ac23b5d8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e26f9721a6b8b1ccceb72fc89f33c3834dd6fa680cb44dd9a9a1263ac23b5d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e26f9721a6b8b1ccceb72fc89f33c3834dd6fa680cb44dd9a9a1263ac23b5d8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: could not compile `exercises` (bin "generics2" test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Wrapper::new("Foo").value, "Foo");
[INFO] [stdout]    |                    ------------ ^^^^^ expected `u32`, found `&str`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn new(value: u32) -> Self {
[INFO] [stdout]    |        ^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:29:47
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Wrapper::new("Foo").value, "Foo");
[INFO] [stdout]    |                                               ^^^^^ expected `u32`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected type, found `)`
[INFO] [stdout]  --> exercises/02_functions/functions2.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn call_me(num:) {
[INFO] [stdout]   |                ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot multiply `Result<i32, ParseIntError>` by `{integer}`
[INFO] [stdout]   --> exercises/13_error_handling/errors2.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Ok(qty * cost_per_item + processing_fee)
[INFO] [stdout]    |        --- ^ ------------- {integer}
[INFO] [stdout]    |        |
[INFO] [stdout]    |        Result<i32, ParseIntError>
[INFO] [stdout]    |
[INFO] [stdout] note: `Result<i32, ParseIntError>` does not implement `Mul<{integer}>`
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/result.rs:557:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Result<i32, ParseIntError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `num` in this scope
[INFO] [stdout]  --> exercises/02_functions/functions2.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for i in 0..num {
[INFO] [stdout]   |                 ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cents_per_gram`
[INFO] [stdout]   --> exercises/07_structs/structs3.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn get_fees(&self, cents_per_gram: u32) {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cents_per_gram`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `vec` as mutable, as it is not declared as mutable
[INFO] [stdout]  --> exercises/06_move_semantics/move_semantics1.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     vec.push(88);
[INFO] [stdout]   |     ^^^ cannot borrow as mutable
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let mut vec = vec;
[INFO] [stdout]   |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "errors2" test) due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "move_semantics1") due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "functions2") due to 2 previous errors
[INFO] [stdout] error[E0433]: cannot find type `SystemTime` in this scope
[INFO] [stdout]  --> exercises/10_modules/modules3.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |     match SystemTime::now().duration_since(UNIX_EPOCH) {
[INFO] [stdout]   |           ^^^^^^^^^^ use of undeclared type `SystemTime`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 8 + use std::time::SystemTime;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `UNIX_EPOCH` in this scope
[INFO] [stdout]  --> exercises/10_modules/modules3.rs:9:44
[INFO] [stdout]   |
[INFO] [stdout] 9 |     match SystemTime::now().duration_since(UNIX_EPOCH) {
[INFO] [stdout]   |                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 8 + use std::time::UNIX_EPOCH;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> exercises/09_strings/strings1.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn current_favorite_color() -> String {
[INFO] [stdout]   |                                ------ expected `String` because of return type
[INFO] [stdout] 3 |     "blue"
[INFO] [stdout]   |     ^^^^^^ expected `String`, found `&str`
[INFO] [stdout]   |
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]   |
[INFO] [stdout] 3 |     "blue".to_string()
[INFO] [stdout]   |           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "modules3") due to 2 previous errors
[INFO] [stderr] error: could not compile `exercises` (bin "strings1") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "5e26f9721a6b8b1ccceb72fc89f33c3834dd6fa680cb44dd9a9a1263ac23b5d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e26f9721a6b8b1ccceb72fc89f33c3834dd6fa680cb44dd9a9a1263ac23b5d8", kill_on_drop: false }`
[INFO] [stdout] 5e26f9721a6b8b1ccceb72fc89f33c3834dd6fa680cb44dd9a9a1263ac23b5d8
